package top.kangyaocoding.ltzf.payment.h5pay.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @Author K·Herbert
 * @Description
 * @Date 2024-05-14 20:38
 */
@lombok.Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetRefundOrderResponse {
    private Integer code;
    private Data data;
    private String msg;
    @JsonProperty("request_id")
    private String requestId;

    @lombok.Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    static class Data {
        /*返回状态，枚举值：0：成功 1：失败*/
        @JsonProperty("refund_status")
        private Long refundStatus;
        /*商户号*/
        @JsonProperty("mch_id")
        private String mchId;
        /*商户订单号*/
        @JsonProperty("out_trade_no")
        private String outTradeNo;
        /*微信支付订单号*/
        @JsonProperty("pay_no")
        private String payNo;
        /*系统退款单号*/
        @JsonProperty("order_no")
        private String orderNo;
        /*商户退款单号*/
        @JsonProperty("out_refund_no")
        private String outRefundNo;
        /*微信支付退款单号*/
        @JsonProperty("pay_refund_no")
        private String payRefundNo;
        /*退款金额*/
        @JsonProperty("refund_fee")
        private String refundFee;
        /*退款入账账户*/
        @JsonProperty("user_received_account")
        private String userReceivedAccount;
        /*退款完成时间，当退款状态为退款成功时返回此参数*/
        @JsonProperty("success_time")
        private String successTime;

    }
}
